package org.point.common.util;

import javax.servlet.http.HttpServletRequest;

public class SessionUtil {
	//ɾ��session
	public static void removeSession(HttpServletRequest request, String name){
		request.getSession().removeAttribute(name);
	}
	//���session
	public static void setSession(HttpServletRequest request, String name, Object obj){
		request.getSession().setAttribute(name, obj);
	}
	//��ȡsession
	public static Object getSession(HttpServletRequest request, String name){
		return request.getSession().getAttribute(name);
	}
}
